<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<table>
    <form action="/queryClass" method="post">
        <input type="submit" value="查询班级信息">
    </form>
    <br>
    <form action="/queryStudentName" method="post">
       班级id <input type="text" name="id">
        <input type="submit" value="查询某班班级学生">
    </form>
    <br>
    <form action="/queryTeacherName" method="post">
        班级id <input type="text" name="id">
        <input type="submit" value="查询某班班级教师">
    </form>
    <br>
    <form action="/queryCourseName" method="post">
        班级id<input type="text" name="id">
        <input type="submit" value="查询某班课程名">
    </form>

    <br>
    <form action="/addClass" method="post">
        班级名字:<input type="text" name="class_name"><br>
        年级    :<input type="text" name="grade"><br>
        班级    :<input type="text" name="classs"><br>
        <input type="submit" value="增加班级">
    </form>
    <br>
    <form action="/updateClass" method="post">
        要更改的班级id<input type="text" name="id"><br>
        班级名字:<input type="text" name="class_name"><br>
        年级    :<input type="text" name="grade"><br>
        班级    :<input type="text" name="classs"><br>
        <input type="submit" value="更改班级">
    </form>
    <br>
    <form action="/deleteClass" method="post">
        删除班级<input type="text" name="id">
        <input type="submit" value="删除">
    </form>
</table>
<br>
<table>
    <form action="/queryCourse" method="post">
        <input type="submit" value="查询课程信息">
    </form>
    <br>

    <br>
    <!--<form action="/test">
        班级id<input type="text" name="id">
        <input type="submit" value="查询all班课程名">
    </form>-->
    <form action="/addCourse" method="post">
        课程名字:<input type="text" name="course_name"><br>
        教师id    :<input type="text" name="teacher_id"><br>
        班级id    :<input type="text" name="classes_id"><br>
        <input type="submit" value="增加课程">
    </form>
    <br>
    <form action="/updateCourse" method="post">
        要更改的课程id<input type="text" name="id"><br>
        课程名字:<input type="text" name="course_name"><br>
        教师id :<input type="text" name="teacher_id"><br>
        班级id   :<input type="text" name="classes_id"><br>
        <input type="submit" value="更改课程">
    </form>
    <br>
    <form action="/deleteCourse" method="post">
        删除课程<input type="text" name="id">
        <input type="submit" value="删除">
    </form>
</table>

<br>
<table>
    <form action="/queryStudent" method="post">
        <input type="submit" value="查询学生信息">
    </form>
    <br>
    <form action="/addStudent" method="post">

        学生名字:<input type="text" name="student_name"><br>
        学生学号:<input type="text" name="student_number"><br>
        学生性别:<input type="text" name="student_sex"><br>
        学生年龄:  :<input type="text" name="student_age"><br>
        班级id    :<input type="text" name="class_id"><br>
        <input type="submit" value="增加学生">
    </form>
    <br>

    <form action="/addStudentCourse" method="post">

        学生名字:<input type="text" name="student_name"><br>
        学生学号:<input type="text" name="student_number"><br>
        学生性别:<input type="text" name="student_sex"><br>
        学生年龄:  :<input type="text" name="student_age"><br>
        班级id    :<input type="text" name="class_id"><br>
        <input type="submit" value="设置学生所属班级">
    </form>
    <br>

    <form action="/updateStudent" method="post">
        更改的学生id<input type="text" name="id"><br>
        学生名字:<input type="text" name="student_name"><br>
        学生学号:<input type="text" name="student_number"><br>
        学生性别:<input type="text" name="student_sex"><br>
        学生年龄:<input type="text" name="student_age"><br>
        班级id  :<input type="text" name="class_id"><br>
        <input type="submit" value="更改学生">
    </form>
    <br>
    <form action="/deleteStudent" method="post">
        删除学生<input type="text" name="id">
        <input type="submit" value="删除">
    </form>
</table>

<br>
<table>
    <form action="/queryTeacher" method="post">
        <input type="submit" value="查询教师信息">
    </form>
    <br>
    <form action="/addTeacher" method="post">

        教师名字:<input type="text" name="teacher_name"><br>
        教师编号:<input type="text" name="teacher_number"><br>
        教师性别:<input type="text" name="teacher_sex"><br>
        教师年龄:<input type="text" name="teacher_age"><br>
        <input type="submit" value="增加教师">
    </form>
    <br>
    <form action="/updateTeacher" method="post">
        教师id:<input type="text" name="id"><br>
        教师名字:<input type="text" name="teacher_name"><br>
        教师编号:<input type="text" name="teacher_number"><br>
        教师性别:<input type="text" name="teacher_sex"><br>
        教师年龄:<input type="text" name="teacher_age"><br>
        <input type="submit" value="更改教师">
    </form>
    <br>
    <form action="/deleteTeacher" method="post" >
        删除教师<input type="text" name="id">
        <input type="submit" value="删除">
    </form>
</table>